package com.szcinda.service.dto.analysis;

import lombok.Data;

import java.io.Serializable;

@Data
public class OrderCountDto implements Serializable {
    private String name;
    private long count;
    private double average;

    public OrderCountDto(String name, long count) {
        this.name = name;
        this.count = count;
    }

    public OrderCountDto(String name, long count, double average) {
        this.name = name;
        this.count = count;
        this.average = average;
    }
}
